From: Joan Torres Lopez Date: Tue, 27 Jan 2026 12:33:36 +0000 (+0100) Subject: Revert "main: Register session with GDM on startup" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2^2^2^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=57d250b99027c010e1f29d586d37bbd76b63b981;p=gnome-shell.git Revert "main: Register session with GDM on startup" This depends on GDM changes that are not in this release. This reverts commit 6457a1454a05bac8f7e172c17fbcb2b5baeae619. Origin: upstream, 49.4, commit:ba60daead6a54ec02ed5aa2841e72cd5acb591cb Bug: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8983 Bug: https://gitlab.gnome.org/GNOME/mutter/-/issues/4572 Bug-Debian: https://bugs.debian.org/1125273 Bug-Debian: https://bugs.debian.org/1125275 Bug-Debian: https://bugs.debian.org/1125941 Bug-Debian: https://bugs.debian.org/1126174 Gbp-Pq: Name Revert-main-Register-session-with-GDM-on-startup.patch --- diff --git a/js/ui/main.js b/js/ui/main.js index bd3906311..4a011f262 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -335,8 +335,6 @@ async function _initializeUI() { extensionManager = new ExtensionSystem.ExtensionManager(); extensionManager.init(); - LoginManager.registerSessionWithGDM(); - if (sessionMode.isGreeter && screenShield) { layoutManager.connect('startup-prepared', () => { screenShield.showDialog(); @@ -383,6 +381,8 @@ async function _initializeUI() { sessionMode.currentMode !== 'initial-setup') _handleLockScreenWarning(); + LoginManager.registerSessionWithGDM(); + if (perfModule) { let perfOutput = GLib.getenv('SHELL_PERF_OUTPUT'); Scripting.runPerfScript(perfModule, perfOutput);